<?php
 require_once('function.php'); 
 ?>

<html>

    <?php
    $sql = 'SELECT * FROM student';
    $data = show($sql);
	$stt=0;
    ?>
    <table boder="1">
        <tr>
            <td>STT</td>
            <td>NAME</td>
			<td>Dell</td>
        </tr>
        
        
      
    <?php foreach ($data as $value)
	{
		$stt++;
        echo"<tr>";
            echo"<td>$stt</td>";
			echo"<td>$value[stu_name]</td>";
			echo"<td><a href='dell_Student.php?stu_id=$value[stu_id]'>X</a></td>";
        echo"<tr>";
    }
    ?>
    
	</table>
</html>